package com.piz.service.common;

import com.piz.dao.common.GenericException;

/**
 * @author prameetk.sharma
 *
 */
public class AppCacheException extends GenericException{

	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String msg;
	

	/**
	 * @param message
	 * @param cause
	 */
	public AppCacheException(String message, Throwable cause) {
		super(message, cause);
		msg = message;
	}

	/**
	 * @param message
	 */
	public AppCacheException(String message) {
		super(message);
		msg = message;
		// TODO Auto-generated constructor stub
	}


	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return (super.toString()+"\n"+" Exception in getting AppCache instance  :  =  "+msg) ;
	}

}
